package com.eastfair.imaster.hystrix;

import com.eastfair.core.base.R;
import com.eastfair.imaster.api.EmployeeServiceFeign;
import com.eastfair.imaster.api.ExhibitorServiceFeign;
import com.eastfair.imaster.dto.EmployeeDTO;
import com.eastfair.imaster.dto.ExhibitorDTO;
import com.eastfair.imaster.entity.ExhibitorProduct;
import com.eastfair.imaster.vo.ExhibitorVo;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 用户API熔断
 *
 * @author zuihou
 * @date 2019/07/23
 */
@Component
public class EmployeeApiFallback implements EmployeeServiceFeign {
    @Override
    public R addUserIdOfCompany(EmployeeDTO employeeDTO) {
        return R.timeout();
    }

    @Override
    public R breaklUserIdOfCompany(EmployeeDTO employeeDTO) {
        return R.timeout();
    }

    @Override
    public R updateCompanyUser(EmployeeDTO employeeDTO) {
        return R.timeout();
    }
}
